home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CEDITOR_ / CEDITORD.H < prev    next >
Text File  |  1990-06-11  |  709b  |  29 lines

  1. /******************************************************************************
  2.  CEditorDoc.h
  3.         Interface for the EditorDoc Class
  4.  ******************************************************************************/
  5.  
  6. #define            _H_CEditorDoc
  7.  
  8. #include        <CApplication.h>
  9. #include        <CDocument.h>
  10.  
  11. struct CEditorDoc : CDocument
  12. {
  13.     int            itsWindowResId;
  14.     int            itsTaskNameIndex;
  15.     int            itsTextWidth;
  16.  
  17.     void        IEditorDoc(CApplication *itsSupervisor,
  18.                             int theWindowResId,
  19.                             int theTaskNameIndex,
  20.                             int theTextWidth);
  21.  
  22.     void        NewFile(void);
  23.     void        OpenFile(SFReply *macSFReply);
  24.     void        BuildWindow(Handle theData);
  25.  
  26.     Boolean        DoSave(void);
  27.     Boolean        DoSaveAs(SFReply *macSFReply);
  28.     void        DoRevert(void);
  29. };